package com.jfs.security.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jfs.entity.OperationLog;
import com.jfs.security.dto.OperationLogDto;
import com.jfs.security.vo.LogListVo;
import com.jfs.security.vo.LoginUserEntity;


/**
 * @Description 用户日志操作接口
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/8
 */
public interface OperationLogService extends IService<OperationLog> {
    /**
     * 保存用户操作日志
     *
     * @param operationLog
     */
    void saveOperationLog(OperationLog operationLog);

    IPage<OperationLogDto> list(LoginUserEntity loginUserEntity, LogListVo logListVo);

    /**
     * 清除用户操作信息
     * @param loginUserEntity
     */
    void clean(LoginUserEntity loginUserEntity);
}
